// 左侧菜单的路由渲染
// 静态路由表
import { constantRoutes } from '@/router'
export default {
  namespaced: 'menu',
  state: {
    menus: [...constantRoutes]
  },
  mutations: {
    SetMenus(state, filterRoutes) {
      state.menus = [...constantRoutes, ...filterRoutes]
    }
  }
}
